'''
在这个模块中，填写接口的方法与拼接接口地址
'''

from autoTest_BRTC_API.core.executeReq import Req

class UserApiUtils(Req): # 调用父类方法
    def reg_util(self,req,headers,**kwargs):
        # 发送请求
        return self.excute_request(req,"POST",url="/register",headers=headers,**kwargs)

    def login_util(self,req,headers,**kwargs):
        return self.excute_request(req,"POST",url="/login",headers=headers,**kwargs)

    def modfiyUserNick_util(self,req,headers,**kwargs):
        return self.excute_request(req,"PUT",url="/modifyUserNick",headers=headers,**kwargs)

# 实例化 UserApiUtils
userapiutil=UserApiUtils()



